import React, { Fragment } from 'react';
import { Layout, Icon } from 'antd';
import { GlobalFooter } from 'ant-design-pro';
import { links } from '@/commons/layoutFooter';
import { copyright } from '@/commons/globalFooter';

const { Footer } = Layout;
const FooterView = () => (
  <Footer style={{ padding: 0 }}>
    <GlobalFooter
      links={links}
      copyright={
        <Fragment>
          Copyright <Icon type="copyright" />{copyright}
        </Fragment>
      }
    />
  </Footer>
);
export default FooterView;